package com.tuniu.agents.common.message;

import lombok.Data;
import lombok.NoArgsConstructor;

// Represents the data for a new product card, including a title and associated data.
@Data
@NoArgsConstructor
public class ProductNewCardData {

    private String title; // Corresponds to the recommended title for each card (e.g., transportation recommendation, flight recommendation, vacation recommendation, etc.)
    private Object data; // Card data

    // Constructs a ProductNewCardData with the specified title and data.
    public ProductNewCardData(String title, Object data) {
        this.title = title;
        this.data = data;
    }
}
